﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.EXCERCISES.EXCERCISE_03
{
    class DongVat
    {
        string Chan, Mat, Tai, Chay, Ngu;

        public DongVat()
        { }

        public DongVat(string chan, string mat, string tai, string chay, string ngu)
        {
            Chan = chan;
            Mat = mat;
            Tai = tai;
            Chay = chay;
            Ngu = ngu;
        }

        public string NGU
        {
            get { return Ngu; }
            set { Ngu = value; }
        }

        public string CHAY
        {
            get { return Chay; }
            set { Chay = value; }
        }

        public string TAI
        {
            get { return Tai; }
            set { Tai = value; }
        }

        public string MAT
        {
            get { return Mat; }
            set { Mat = value; }
        }

        public string CHAN
        {
            get { return Chan; }
            set { Chan = value; }
        }


    }
}
